KBDLLHOOKSTRUCT (Structures)
Last changed: -136.174.5.25

.
Summary
The KBDLLHOOKSTRUCT structure contains information about a low-level keyboard input event

C# Definition:

[StructLayout(LayoutKind.Sequential)]
public class KBDLLHOOKSTRUCT
{
    public int vkCode;
    public int scanCode;
    public int flags;
    public int time;
    public IntPtr dwExtraInfo;
}

VB Definition:

Private Class KBDLLHOOKSTRUCT
    Private vkCode As Integer
    Private scanCode As Integer
    Private flags As Integer
    Private time As Integer
    Private dwExtraInfo As Integer
End Structure

Notes:

Added by Senthamil.

Changed to class to get the correct marshalling in SetWindowsHookEx

Documentation

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/hooks/hookreference/hookstructures/kbdllhookstruct.asp